function OpenCustomLobby(um)
	if not menu then
		menu = vgui.Create("cMenu") 		
		-- setting size and pos relative to resolution
		local w, h = ScrW()/3, ScrH()/2.25
		local x, y = (ScrW() - w) / 2, (ScrH() - h) / 2
		menu:SetSize(w, h)
		menu:SetPos(x, y)
		menu:Register(w, h, x, y)
		menu:SetVisible(true)
			menu:AddButton(112,36,"HI","gui/nonsense/close2")
			menu:AddButton(112,36,"HI","")
			menu:AddButton(112,36,"HI","")
			menu:AddButton(112,36,"HI","")
	else
		menu:SetVisible(not menu.Visible)
	end
end
//usermessage.Hook("OpenGameLobby", OpenCustomLobby)